package com.ashapo.pattern.pattern021nullobject;

//第2步
//创建扩展上述类的具体类

public class NullCustomer extends AbstractCustomer {

    @Override
    public String getName() {
        return "Not Available in Customer Database";
    }

    @Override
    public boolean isNil() {
        return true;
    }
}
